package com.wx.tnsperson;

import com.wx.tnsperson.pojo.FileProperties;
import io.swagger.annotations.Api;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;

@SpringBootApplication
@EnableDiscoveryClient
@Api("启动类")
@EnableConfigurationProperties({
        FileProperties.class
})
@ComponentScan(basePackages = {"com.wx.common","com.wx.tnsperson"})
@MapperScan("com.wx.tnsperson.mapper")

public class TnsPersonApplication {

    public static void main(String[] args) {
        SpringApplication.run(TnsPersonApplication.class, args);
    }


}
